package com.gec.hrm.dao.impl;

import com.gec.hrm.pojo.User;

import java.util.List;

public interface UserDao{
    public User login(String username, String password);
    //查询的方法
    public List<User> userList(String loginname, String status,int page,int limit);

    public boolean checkName(String loginname);
    public int addUser(User user);

    public int updUser(User user);

    // 查询总条数
    public int count();

    public int delUser(int id);

    public User findById(int id);
}